package game.players.cpu.opponent;

import com.uqbar.vainilla.appearances.Animation;
import com.uqbar.vainilla.appearances.Sprite;

import game.players.SoccerPlayer;
import game.players.states.CelebratingPlayer;

public class CelebratingCPUOppPlayer extends CelebratingPlayer {

	public CelebratingCPUOppPlayer(SoccerPlayer player) {
		super(player);
	}

	@Override
	protected void setAnimation() {
		this.getPlayer().setAppearance(new Animation(0.3,
				Sprite.fromImage("/images/goal3_festejo4_2.png").crop(0, 4, 65, 60).scale(1.5),
				Sprite.fromImage("/images/goal3_festejo4_2.png").crop(75, 1, 65, 63).scale(1.5),
				Sprite.fromImage("/images/goal3_festejo4_2.png").crop(143, 3, 65, 59).scale(1.5),
				Sprite.fromImage("/images/goal3_festejo4_2.png").crop(218, 0, 65, 62).scale(1.5)
				));
	}

}
